import { Effect, history, Reducer } from 'umi';
import { message } from 'antd';
import { parse } from 'qs';
import { fakeRequest } from './service';


export interface StateType {
  status?: 'ok' | 'error';
  type?: string;
  currentAuthority?: 'user' | 'guest' | 'admin';
}

export interface ModelType {
  namespace: string;
  state: StateType;
  effects: {
  };
  reducers: {
  };
}

const Model: ModelType = {
  namespace: 'Queue',

  state: {},

  effects: {},

  reducers: {},
};

export default Model;
